﻿@model MVCDemo.Models.EmployeeEx

@{
    ViewBag.Title = "Details";
}

<div style="font-family: Arial">
    <h2>Details</h2>

    <fieldset>
        <legend>EmployeeEx</legend>

        <div class="display-label">
            @Html.DisplayNameFor(model => model.FullName)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.FullName)
        </div>

        <div class="display-label">
            @Html.DisplayNameFor(model => model.Gender)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Gender)
        </div>

        <div class="display-label">
            @Html.DisplayNameFor(model => model.Age)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Age)
        </div>

        <div class="display-label">
            @Html.DisplayNameFor(model => model.HireDate)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.HireDate)
        </div>

        <div class="display-label">
            @Html.DisplayNameFor(model => model.EmailAddress)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.EmailAddress)
        </div>

        <div class="display-label">
            @Html.DisplayNameFor(model => model.Salary)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Salary)
        </div>

        <div class="display-label">
            @Html.DisplayNameFor(model => model.PersonalWebSite)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.PersonalWebSite)
        </div>

        <div class="display-label">
            @Html.DisplayNameFor(model => model.Photo)
        </div>
        <div class="display-field">
            @Html.Image(@Model.Photo, @Model.AlternateText)
        </div>
    </fieldset>
</div>
